package com.aos.erp.manager.enums.sys;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

/**
 * 部门code规则
 */
public enum DepartmentType implements IEnum {
    aos("A", "敖雄"),
    division("C", "车管所"),
    school("J", "驾校总校"),
    branch("F", "分校"),
    point("B", "报名点"),
    department("D","部门");

    private String value;
    private String desc;

    DepartmentType(final String value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }


    public String getDesc() {
        return this.desc;
    }
}
